package com.test.springboot3.springboot3testdemo1.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： liuziyang
 * @date： 2024/8/5-下午7:43
 * @description：
 * @modifiedBy：
 * @version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Document(collation = "jackstack")
public class UserMongoEntity {
  private long id;
  private String name;
  private int sex;
}
